import { ref } from 'vue';
import { defineStore } from 'pinia';

export const useVisibleStore = defineStore('visible', () => {
  const visible = ref(false);

  function openCartDialog() {
    visible.value = true;
  }

  return { visible, openCartDialog };
});
